package com.raysdata.smartcity.tools;

import com.raysdata.smartcity.dao.RzBaseDao;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class Test {

    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("classpath:/*.xml");
        RzBaseDao dao = ac.getBean(RzBaseDao.class);
        DaoGenerator.go(dao, "judgmenthall","yp_transfer_order");
        DtoGenerator.go(dao, "judgmenthall","yp_transfer_order");
    }
}
